package com.example.teachingSystem.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 课程安排表
 * @TableName course_schedule
 */
@TableName(value ="course_schedule")
@Data
public class CourseSchedule implements Serializable {
    /**
     * 安排ID
     */
    @TableId
    private Long scheduleId;

    /**
     * 课程ID
     */
    private Long courseId;

    /**
     * 本课程的第几次课时
     */
    private Integer lessonNumber;

    /**
     * 第几节上课
     */
    private Integer classNumber;

    /**
     * 第几周
     */
    private Integer weekNumber;

    /**
     * 星期几
     */
    private String dayOfWeek;

    /**
     * 教室
     */
    private String classroom;

    /**
     * 创建时间
     */
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}